<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<header th:fragment="header">
    <div class="sticky-header header-section ">
        <div class="header-left">
            <!--toggle button start-->
            <button id="showLeftPush"><i class="fa fa-bars"></i></button>
            <!--toggle button end-->
            <!--logo -->
            <div class="logo">
                <a href="/">
                    <h1>云客服平台</h1>
                    <span>WIT WEB</span>
                </a>
            </div>
            <!--//logo-->

            <div class="clearfix"> </div>
        </div>
        <div class="header-right">
            <div class="profile_details_left"><!--notifications of menu start -->
                <ul class="nofitications-dropdown">
                    <li class="dropdown head-dpdn">
                        <a href="/notice/no?value=&current=1&size=6" class="dropdown-toggle" aria-expanded="false"><i class="fa fa-envelope"></i></a>
                    </li>
                    <li class="dropdown head-dpdn">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><i class="fa fa-bell"></i><span class="badge blue">1</span></a>
                        <ul class="dropdown-menu">
                            <li>
                                <div class="notification_header">
                                    <h3>System Messages</h3>
                                </div>
                            </li>
                            <li>
                                <div class="notification_desc">
                                    <p th:text="${session.systemMessage.getTitle()}"></p>
                                    <p><span th:text="${session.systemMessage.getCreatetime()}"></span></p>
                                </div>
                                <div class="clearfix"></div>
                            </li>
                            <li>
                                <div class="notification_bottom">
                                    <a th:href="@{/systemMessage/sm(value='',current=${1},size=6)}">See all messages</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
                <div class="clearfix"> </div>
            </div>
            <!--notification menu end -->
            <div class="profile_details">
                <ul>
                    <li class="dropdown profile_details_drop">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                            <div class="profile_img">
                                <span class="prfil-img">
                                    <img th:src="@{${session.cs.getHeadimg()}}" alt="" style="height: 50px;" class="img-circle">
                                </span>
                                <div class="user-name">
                                    <p th:text="${session.cs.getNickname()}"></p>
                                    <span>Administrator</span>
                                </div>
                                <i class="fa fa-angle-down lnr"></i>
                                <i class="fa fa-angle-up lnr"></i>
                                <div class="clearfix"></div>
                            </div>
                        </a>
                        <ul class="dropdown-menu drp-mnu">
                            <li> <a href="/customerService/setting"><i class="fa fa-user"></i> Profile</a> </li>
                            <li> <a href="/exit"><i class="fa fa-sign-out"></i> Logout</a> </li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="clearfix"> </div>
        </div>
        <div class="clearfix"> </div>
    </div>
</header>